package com.piggy.logi.sys.bo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.piggy.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * 待发车运单列表查询
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel("部门分页查询对象")
public class OperationDispatchCarQueryBo extends LogiScheduleQueryBo {

    @ApiModelProperty("查询类型(0: 待发车次, 1：在途车次)")
    private Integer dispatchType;

    @ApiModelProperty("车牌号")
    private String licensePlate;

    @ApiModelProperty("司机名称")
    private String driverName;

    @ApiModelProperty("手机号码")
    private String phoneNumber;

    @ApiModelProperty("流程状态")
    private List<Integer> scheduleList;

    @ApiModelProperty("调度/车次订单号 YYYYMMDD+序号集合")
    private List<String> scheduleNos;

    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @ApiModelProperty("运单ID")
    private Long waybillId;
}
